package spring.springbucks;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import spring.springbucks.integration.Waiter;

@EnableJpaRepositories
@SpringBootApplication
@EnableBinding(Waiter.class)
@ComponentScan({"spring.*"})
@MapperScan("spring.springentity.mapper")
public class SpringBaristaApplication {

  public static void main(String[] args) {
    SpringApplication.run(SpringBaristaApplication.class, args);
  }

}

